//
// Created by martin on 9/9/21.
//

#ifndef FTPSERVER2_0_COMMONTYPES_H
#define FTPSERVER2_0_COMMONTYPES_H

typedef char * string;
typedef string let;

#define newString(str) strcpy((char *)malloc(strlen(str) + 1), str)
#define freeString(str) if(str){ free(str); }

typedef enum { False = 0, True =1} Boolean;

#endif //FTPSERVER2_0_COMMONTYPES_H
